# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'qtdesign/species.ui'
#
# Created: Wed Jan 19 22:53:32 2011
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.tab_analyzer = QtGui.QWidget()
        self.tab_analyzer.setObjectName("tab_analyzer")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.tab_analyzer)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtGui.QLabel(self.tab_analyzer)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.lineEditAudioTrackFile = QtGui.QLineEdit(self.tab_analyzer)
        self.lineEditAudioTrackFile.setObjectName("lineEditAudioTrackFile")
        self.horizontalLayout_2.addWidget(self.lineEditAudioTrackFile)
        self.btnLoadAudioTrack = QtGui.QPushButton(self.tab_analyzer)
        self.btnLoadAudioTrack.setObjectName("btnLoadAudioTrack")
        self.horizontalLayout_2.addWidget(self.btnLoadAudioTrack)
        self.btnPlayAudioTrack = QtGui.QPushButton(self.tab_analyzer)
        self.btnPlayAudioTrack.setObjectName("btnPlayAudioTrack")
        self.horizontalLayout_2.addWidget(self.btnPlayAudioTrack)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.btnGo = QtGui.QPushButton(self.tab_analyzer)
        self.btnGo.setObjectName("btnGo")
        self.verticalLayout.addWidget(self.btnGo)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        self.tabWidget.addTab(self.tab_analyzer, "")
        self.tab_species = QtGui.QWidget()
        self.tab_species.setObjectName("tab_species")
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.tab_species)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.listViewSpecies = QtGui.QListView(self.tab_species)
        self.listViewSpecies.setObjectName("listViewSpecies")
        self.verticalLayout_4.addWidget(self.listViewSpecies)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_2 = QtGui.QLabel(self.tab_species)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.lineEditSpecies = QtGui.QLineEdit(self.tab_species)
        self.lineEditSpecies.setObjectName("lineEditSpecies")
        self.horizontalLayout.addWidget(self.lineEditSpecies)
        self.btnAddSpecies = QtGui.QPushButton(self.tab_species)
        self.btnAddSpecies.setObjectName("btnAddSpecies")
        self.horizontalLayout.addWidget(self.btnAddSpecies)
        self.verticalLayout_4.addLayout(self.horizontalLayout)
        self.horizontalLayout_5.addLayout(self.verticalLayout_4)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.btnDeleteSpecies = QtGui.QPushButton(self.tab_species)
        self.btnDeleteSpecies.setObjectName("btnDeleteSpecies")
        self.verticalLayout_5.addWidget(self.btnDeleteSpecies)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem1)
        self.horizontalLayout_5.addLayout(self.verticalLayout_5)
        self.horizontalLayout_6.addLayout(self.horizontalLayout_5)
        self.tabWidget.addTab(self.tab_species, "")
        self.tab_sounds = QtGui.QWidget()
        self.tab_sounds.setObjectName("tab_sounds")
        self.horizontalLayout_9 = QtGui.QHBoxLayout(self.tab_sounds)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.verticalLayout_8 = QtGui.QVBoxLayout()
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.label_3 = QtGui.QLabel(self.tab_sounds)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_7.addWidget(self.label_3)
        self.comboSpecies = QtGui.QComboBox(self.tab_sounds)
        self.comboSpecies.setObjectName("comboSpecies")
        self.horizontalLayout_7.addWidget(self.comboSpecies)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem2)
        self.verticalLayout_8.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.listViewTemplates = QtGui.QListView(self.tab_sounds)
        self.listViewTemplates.setObjectName("listViewTemplates")
        self.horizontalLayout_8.addWidget(self.listViewTemplates)
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.btnAddSound = QtGui.QPushButton(self.tab_sounds)
        self.btnAddSound.setObjectName("btnAddSound")
        self.verticalLayout_6.addWidget(self.btnAddSound)
        self.btnReplaceSound = QtGui.QPushButton(self.tab_sounds)
        self.btnReplaceSound.setObjectName("btnReplaceSound")
        self.verticalLayout_6.addWidget(self.btnReplaceSound)
        self.btnDeleteSound = QtGui.QPushButton(self.tab_sounds)
        self.btnDeleteSound.setObjectName("btnDeleteSound")
        self.verticalLayout_6.addWidget(self.btnDeleteSound)
        self.btnSpectrogram = QtGui.QPushButton(self.tab_sounds)
        self.btnSpectrogram.setObjectName("btnSpectrogram")
        self.verticalLayout_6.addWidget(self.btnSpectrogram)
        self.btnPlaySound = QtGui.QPushButton(self.tab_sounds)
        self.btnPlaySound.setObjectName("btnPlaySound")
        self.verticalLayout_6.addWidget(self.btnPlaySound)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_6.addItem(spacerItem3)
        self.horizontalLayout_8.addLayout(self.verticalLayout_6)
        self.verticalLayout_8.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_9.addLayout(self.verticalLayout_8)
        self.tabWidget.addTab(self.tab_sounds, "")
        self.verticalLayout_7.addWidget(self.tabWidget)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 18))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionExit = QtGui.QAction(MainWindow)
        self.actionExit.setObjectName("actionExit")
        self.menuFile.addAction(self.actionExit)
        self.menubar.addAction(self.menuFile.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.actionExit, QtCore.SIGNAL("activated()"), MainWindow.close)
        QtCore.QObject.connect(self.comboSpecies, QtCore.SIGNAL("activated(int)"), MainWindow.load_templates)
        QtCore.QObject.connect(self.btnPlaySound, QtCore.SIGNAL("clicked()"), MainWindow.play_template)
        QtCore.QObject.connect(self.btnAddSound, QtCore.SIGNAL("clicked()"), MainWindow.add_template)
        QtCore.QObject.connect(self.btnDeleteSound, QtCore.SIGNAL("clicked()"), MainWindow.delete_template)
        QtCore.QObject.connect(self.btnReplaceSound, QtCore.SIGNAL("clicked()"), MainWindow.replace_template)
        QtCore.QObject.connect(self.listViewTemplates, QtCore.SIGNAL("doubleClicked(QModelIndex)"), MainWindow.play_template)
        QtCore.QObject.connect(self.btnSpectrogram, QtCore.SIGNAL("clicked()"), MainWindow.show_spectrogram)
        QtCore.QObject.connect(self.btnAddSpecies, QtCore.SIGNAL("clicked()"), MainWindow.add_species)
        QtCore.QObject.connect(self.btnDeleteSpecies, QtCore.SIGNAL("clicked()"), MainWindow.delete_species)
        QtCore.QObject.connect(self.btnLoadAudioTrack, QtCore.SIGNAL("clicked()"), MainWindow.load_audio_track)
        QtCore.QObject.connect(self.btnGo, QtCore.SIGNAL("clicked()"), MainWindow.go)
        QtCore.QObject.connect(self.btnPlayAudioTrack, QtCore.SIGNAL("clicked()"), MainWindow.play_audio_track)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Load your audio track", None, QtGui.QApplication.UnicodeUTF8))
        self.btnLoadAudioTrack.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.btnPlayAudioTrack.setText(QtGui.QApplication.translate("MainWindow", "Play", None, QtGui.QApplication.UnicodeUTF8))
        self.btnGo.setText(QtGui.QApplication.translate("MainWindow", "Go", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_analyzer), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "New species", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddSpecies.setText(QtGui.QApplication.translate("MainWindow", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDeleteSpecies.setText(QtGui.QApplication.translate("MainWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_species), QtGui.QApplication.translate("MainWindow", "Species", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Choose speecies", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddSound.setText(QtGui.QApplication.translate("MainWindow", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.btnReplaceSound.setText(QtGui.QApplication.translate("MainWindow", "Replace", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDeleteSound.setText(QtGui.QApplication.translate("MainWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSpectrogram.setText(QtGui.QApplication.translate("MainWindow", "Spectrogram", None, QtGui.QApplication.UnicodeUTF8))
        self.btnPlaySound.setText(QtGui.QApplication.translate("MainWindow", "Play", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_sounds), QtGui.QApplication.translate("MainWindow", "Sounds", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setText(QtGui.QApplication.translate("MainWindow", "Exit", None, QtGui.QApplication.UnicodeUTF8))

